home *** CD-ROM | disk | FTP | other *** search
/ NOVA - For the NeXT Workstation / NOVA - For the NeXT Workstation.iso / Documents / NeXTAnswers / appkit.821 < prev    next >
Text File  |  1992-02-06  |  1KB  |  41 lines

  1. {\rtf0\ansi{\fonttbl\f0\fnil Times-Roman;\f2\fmodern Courier;\f1\fswiss Helvetica;}
  2. \paperw13040
  3. \paperh10800
  4. \margl120
  5. \margr120
  6. {\colortbl\red0\green0\blue0;}
  7. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f0\b0\i0\ul0\fs28\fi-440\li440 NXJournaler missing methods\
  8. \
  9. Q:  How can I tell an NXJournaler to record sound from the DSP instead of from the microphone?  I'd like to record sound from a peripheral attached to the DSP port.\
  10.  
  11. \fi0\li0 \
  12.  
  13. \fi-440\li440 A:  There are two methods which were accidentally left out of the NXJournaler specification sheet.  They are:\
  14. \
  15.  
  16. \f2\fs24\fi0\li2620 - setRecordDevice: (int)newRecordDevice\
  17. - (int) recordDevice\
  18.  
  19. \f0\fs28\fi-440\li440 \
  20. Legal values for 
  21. \b recordDevice
  22. \b0  are:\
  23. \
  24.  
  25. \f2\fs24\fi0\li2620 #define NX_CODEC    0\
  26. #define NX_DSP      1\
  27. \
  28.  
  29. \f0\fs28\li0\fc0 Use NX_DSP to record from the DSP, and NX_CODEC to change it back to recording from the microphone (which is the default).\
  30. \
  31.  
  32. \pard\tx620\tx1240\tx1860\tx2480\tx3100\tx3720\tx4340\tx4980\tx5600\tx6220\fc0 The recording from the DSP assumes that the peripheral is sending CD-quality  data (stereo,16-bit linear, 44.1 kHz) to the DSP port.  However, for efficiency it reduces the data to a 22.05-kHz mono soundfile.
  33. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\fc0 \
  34. \
  35. \
  36. QA821\
  37. \
  38. Valid for 2.0\
  39. \
  40.  
  41.